 <a class="gfxButton" id="back" href="index.php?type=form&action=close"></a>
{if $formRights.edit == 1}
    {if !$id}
        <a class="gfxButton" id="ok" href="javascript:formCreate()"></a>
    {else}
        <a class="gfxButton" id="ok" href="javascript:formUpdate()"></a>
        <a class="gfxButton" id="delete" href="javascript:formDelete({$id})"></a>
    {/if}
{/if}